package com.DosonLeung.homeschoolcommunication.Services;

import android.os.Binder;
import android.os.Handler;

/**
 * Created by DosonLeung on 2014/11/21.
 */
public class MainBinder extends Binder{

    private Handler serviceHandler;
    private Handler mainHandler;
    private Handler chatHandler;

    public MainBinder(Handler serviceHandler){
        this.serviceHandler = serviceHandler;
    }

    public void setMainHandler(Handler mainHandler) {
        this.mainHandler = mainHandler;
    }

    public void setChatHandler(Handler chatHandler) {
        this.chatHandler = chatHandler;
    }

    public Handler getServiceHandler() {
        return serviceHandler;
    }

    public Handler getMainHandler() {
        return mainHandler;
    }

    public Handler getChatHandler() {
        return chatHandler;
    }
}
